﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartCity.Passport.Infrastructure.Interfaces
{
    /// <summary>
    /// 仓储接口
    /// </summary>
    /// <typeparam name="T">实体</typeparam>
    public interface IBaseRepository<T> where T : class
    {
        /// <summary>
        /// 获取全部
        /// </summary>
        /// <returns></returns>
        IQueryable<T> GetAll();
    }
}
